package com.hdoit.apollo.web.purchase.modelconfig;

import com.hdoit.apollo.web.shop.providers.SupplierProvider;
import com.tennetcn.web.component.attribute.DisplayNameAttribute;
import com.tennetcn.web.component.attribute.DropDownListAttribute;
import com.tennetcn.web.component.attribute.base.ModelMetadataAttributeConfiguration;

/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年05月23日 11:11:57
 * @comment
 */
public class PurchaseCollocationSearchConfig extends ModelMetadataAttributeConfiguration{
    public PurchaseCollocationSearchConfig(){
    	this.setProperty("supplierId")
	        .hasAttribute(new DisplayNameAttribute("供应商"))
	    	.hasAttribute(new DropDownListAttribute(new SupplierProvider()));
    }
}